package com.lovegu.object.down;

/**
 * @author 老顾
 * @title: ProxyServer
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/21 19:13
 */
public class ProxyServer implements Network {
    private Network network;
    public ProxyServer(Network network) {
        this.network = network;
    }
    public void check() {
        System.out.println("检查网络连接等操作");
    }
    @Override
    public void browse() {
        check();
        network.browse();
    }
}
